<script setup lang="ts">

const props = defineProps({title:String})

function onClick() {

}

</script>

<template>
<div class="btn" @click="onClick()" >
    <div class="content">{{ props.title }}</div>
</div>
</template>

<style scoped>
.btn {
    display: flex;
    margin:5px;
    align-items: center;
    justify-content: center;
}
/* .content {
    position: absolute;
    left:50%;
    top:50%;
    
} */
</style>